package com.kitten.note.biz.constants;


public interface MQConstants {

    /**
     * Topic 主题：删除笔记本地缓存
     */
    String TOPIC_DELETE_NOTE_LOCAL_CACHE = "DeleteNoteLocalCacheTopic";

    /**
     * Topic: 点赞、取消点赞共用一个
     */
    String TOPIC_LIKE_OR_UNLIKE = "LikeUnlikeTopic";

    /**
     * TAG 标签：点赞/取消点赞_笔记
     */
    String TAG_LIKE = "Like";

    String TAG_UNLIKE = "Unlike";
    /**
     * Topic 主题：统计笔记点赞数量
     */
    String TOPIC_COUNT_NOTE_LIKE = "CountNoteLikeTopic";

    /**
     * Topic 主题：收藏/取消收藏共用一个
     */
    String TOPIC_COLLECT_OR_UNCOLLECT = "CollectUncollectTopic";

    String TAG_COLLECT = "Collect";

    String TAG_UNCOLLECT = "Uncollect";

    /**
     * Topic 主题：统计笔记收藏数量
     */
    String TOPIC_COUNT_NOTE_COLLECT = "CountNoteCollectTopic";

    /**
     * Topic 主题：笔记操作 (创建、删除)
     */
    String TOPIC_NOTE_OPERATE = "NoteOperateTopic";


    // 事务消息: 发布笔记
    String TOPIC_PUBLISH_NOTE_TRANSACTION = "PublishNoteTransactionTopic";

    // 延迟双删 Topic: 删除用户主页已发布的笔记列表缓存
    String TOPIC_DELAY_DELETE_PUBLISHED_NOTE_LIST_REDIS_CACHE = "DelayDeletePublishedNoteListRedisCacheTopic";

    /**
     * TAG 标签：笔记操作_创建
     */
    String TAG_NOTE_PUBLISH = "NoteCreate";

    /**
     * TAG 标签：笔记操作_删除
     */
    String TAG_NOTE_DELETE = "NoteDelete";

}
